package com.作业.Day3;

public class Homework4 {
    public static void main(String[] args) {
        /**
         * 打印乘法口诀
         */
        for (int i = 0; i < 9; i++) {
            int a=i+1;
            for (int j = 0; j < i+1; j++) {
                int b=j+1;

                System.out.print(a+"*"+b+"="+a*b);
                System.out.print(" ");
            }
            System.out.println();
        }
    }
}
